package com.bookmarket.service;

import com.bookmarket.entity.Custom;
import com.bookmarket.entity.Shop;

import java.util.List;

public interface LJShopCartService {
    //查询用户信息
    Custom selectBy(String name);
    //查询购物车
    List<Shop> queryByCustom(Custom custom);
    //单个删除
    boolean delShop(int id);
    //查购物车
    Shop selectById(int id);
    //改变数据库购物车数量
    void updateShop(int id,int num);
}
